﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000871 RID: 2161
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GetUnlockTeleportCsReq : IMessage<GetUnlockTeleportCsReq>, IMessage, IEquatable<GetUnlockTeleportCsReq>, IDeepCloneable<GetUnlockTeleportCsReq>, IBufferMessage
	{
		// Token: 0x17001B3F RID: 6975
		// (get) Token: 0x0600609D RID: 24733 RVA: 0x00101318 File Offset: 0x000FF518
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GetUnlockTeleportCsReq> Parser
		{
			get
			{
				return GetUnlockTeleportCsReq._parser;
			}
		}

		// Token: 0x17001B40 RID: 6976
		// (get) Token: 0x0600609E RID: 24734 RVA: 0x0010131F File Offset: 0x000FF51F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GetUnlockTeleportCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001B41 RID: 6977
		// (get) Token: 0x0600609F RID: 24735 RVA: 0x00101331 File Offset: 0x000FF531
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GetUnlockTeleportCsReq.Descriptor;
			}
		}

		// Token: 0x060060A0 RID: 24736 RVA: 0x00101338 File Offset: 0x000FF538
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetUnlockTeleportCsReq()
		{
		}

		// Token: 0x060060A1 RID: 24737 RVA: 0x0010134B File Offset: 0x000FF54B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetUnlockTeleportCsReq(GetUnlockTeleportCsReq other) : this()
		{
			this.entryIdList_ = other.entryIdList_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060060A2 RID: 24738 RVA: 0x00101375 File Offset: 0x000FF575
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetUnlockTeleportCsReq Clone()
		{
			return new GetUnlockTeleportCsReq(this);
		}

		// Token: 0x17001B42 RID: 6978
		// (get) Token: 0x060060A3 RID: 24739 RVA: 0x0010137D File Offset: 0x000FF57D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> EntryIdList
		{
			get
			{
				return this.entryIdList_;
			}
		}

		// Token: 0x060060A4 RID: 24740 RVA: 0x00101385 File Offset: 0x000FF585
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GetUnlockTeleportCsReq);
		}

		// Token: 0x060060A5 RID: 24741 RVA: 0x00101393 File Offset: 0x000FF593
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GetUnlockTeleportCsReq other)
		{
			return other != null && (other == this || (this.entryIdList_.Equals(other.entryIdList_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060060A6 RID: 24742 RVA: 0x001013C8 File Offset: 0x000FF5C8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.entryIdList_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060060A7 RID: 24743 RVA: 0x001013FC File Offset: 0x000FF5FC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060060A8 RID: 24744 RVA: 0x00101404 File Offset: 0x000FF604
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060060A9 RID: 24745 RVA: 0x0010140D File Offset: 0x000FF60D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.entryIdList_.WriteTo(ref output, GetUnlockTeleportCsReq._repeated_entryIdList_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060060AA RID: 24746 RVA: 0x00101434 File Offset: 0x000FF634
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.entryIdList_.CalculateSize(GetUnlockTeleportCsReq._repeated_entryIdList_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060060AB RID: 24747 RVA: 0x0010146D File Offset: 0x000FF66D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GetUnlockTeleportCsReq other)
		{
			if (other == null)
			{
				return;
			}
			this.entryIdList_.Add(other.entryIdList_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060060AC RID: 24748 RVA: 0x0010149B File Offset: 0x000FF69B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060060AD RID: 24749 RVA: 0x001014A4 File Offset: 0x000FF6A4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 48U && num != 50U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.entryIdList_.AddEntriesFrom(ref input, GetUnlockTeleportCsReq._repeated_entryIdList_codec);
				}
			}
		}

		// Token: 0x04002518 RID: 9496
		private static readonly MessageParser<GetUnlockTeleportCsReq> _parser = new MessageParser<GetUnlockTeleportCsReq>(() => new GetUnlockTeleportCsReq());

		// Token: 0x04002519 RID: 9497
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400251A RID: 9498
		public const int EntryIdListFieldNumber = 6;

		// Token: 0x0400251B RID: 9499
		private static readonly FieldCodec<uint> _repeated_entryIdList_codec = FieldCodec.ForUInt32(50U);

		// Token: 0x0400251C RID: 9500
		private readonly RepeatedField<uint> entryIdList_ = new RepeatedField<uint>();
	}
}
